<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="{% url 'shangpinadmin:add_goods' %}">添加商品</a><br />
    {% for goods in goods_list %}
        <a href="{% url 'shangpinadmin:set_goods' goods.id %}">{{ goods.good_name }}</a>
        {% if goods.status %}
        <p>已上架</p>
        {% else %}
        <p>未上架</p>
        {% endif %}
    {% endfor %}
</body>
</html>